package com.lc.user.express.httpserver;

import com.lc.user.express.app.AppContext;
import com.lc.user.express.model.AccountDetailsModel;
import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

import org.json.JSONObject;

/**
 * Created by Administrator on 2016/3/31.余额详情
 */
@HttpInlet(Net.GET_BALANCE_DETAIL)
public class GetBalanceDetail extends ZJDBAsyGet<AccountDetailsModel> {
    public String userid;
    public int page;

    public GetBalanceDetail(String userid, int page, AsyCallBack listener) {
        super(listener);
        this.userid = userid;
        this.page = page;

    }
    AccountDetailsModel accountDetailsModel;
    @Override
    protected AccountDetailsModel parser(JSONObject object) {
        accountDetailsModel = AppContext.gsonUtil.toObject(object.toString(), AccountDetailsModel.class);
        return accountDetailsModel;
    }

}



